package br.com.guiaaluno.bean;

import br.com.guiaaluno.disciplinas.Disciplina;
import br.com.guiaaluno.disciplinas.DisciplinaRN;

public class DisciplinaBean {
	
	private Disciplina disciplina = new Disciplina();

	public Disciplina getDisciplina() {
		return disciplina;
	}

	public void setDisciplina(Disciplina disciplina) {
		this.disciplina = disciplina;
	}
	
	public String salvar(){
		
		DisciplinaRN disciplinarn= new DisciplinaRN();
		disciplinarn.salvar(disciplina);

		return "alunoSalvo";
		
	}
	

}
